From: Jasper St. Pierre Date: Sun, 27 Mar 2011 18:25:24 +0000 (-0400) Subject: WindowOverlay: Show close button after an animation X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~8305 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=2e02918323937dceeb63df9533a2b272619c408e;p=gnome-shell.git WindowOverlay: Show close button after an animation If a user is fast and mouses over a window while the workspace thumbnail animations are playing, it can be frustrating when the close button won't appear at the end of the animation. https://bugzilla.gnome.org/show_bug.cgi?id=645848 --- diff --git a/js/ui/workspace.js b/js/ui/workspace.js index 2d487660e..728eaa5f0 100644 --- a/js/ui/workspace.js +++ b/js/ui/workspace.js @@ -394,6 +394,8 @@ WindowOverlay.prototype = { show: function() { this._hidden = false; + if (this._windowClone.actor.has_pointer) + this.closeButton.show(); this.title.show(); },